namespace :db do 
  desc "Resetea Base de Datos (migrate to version 0, migrate, annotate_models and load fixtures."
  task :reload => :environment do 
    ENV["VERSION"] = "0"
    Rake::Task["db:migrate"].execute

    ENV.delete('VERSION')
    Rake::Task["db:migrate"].execute
    
    Rake::Task["db:fixtures:load"].execute
  end
end
